Skip to content

[DX-981] Upgrade @ably/chat to v1.3.1 and remove msgpack workaround#194

Merged
umair-ably merged 2 commits intomainfrom
upgrade-chat-sdk
Mar 26, 2026
Merged

[DX-981] Upgrade @ably/chat to v1.3.1 and remove msgpack workaround#194
umair-ably merged 2 commits intomainfrom
upgrade-chat-sdk

Conversation

@umair-ably
Copy link
Collaborator

Summary

  • Upgrades @ably/chat from 1.0.0 to 1.3.1
  • Removes the useBinaryProtocol = false workaround in ChatBaseCommand — the new Chat SDK handles msgpack correctly so the override is no longer needed
  • Removes the now-unused import type * as Ably from "ably" import

Test plan

  • pnpm prepare succeeds
  • pnpm exec eslint . — 0 errors
  • pnpm test:unit — all 2209 tests pass
  • E2E tests against real Ably (CI)

@vercel
Copy link

vercel bot commented Mar 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cli-web-cli Ready Ready Preview, Comment Mar 26, 2026 0:57am

Request Review

@umair-ably umair-ably changed the title Upgrade @ably/chat to v1.3.1 and remove msgpack workaround [DX-981] Upgrade @ably/chat to v1.3.1 and remove msgpack workaround Mar 26, 2026
@umair-ably umair-ably requested review from AndyTWF and sacOO7 March 26, 2026 12:21
@umair-ably umair-ably marked this pull request as ready for review March 26, 2026 12:21
@sacOO7
Copy link
Contributor

sacOO7 commented Mar 26, 2026

rooms messages update works fine now 👍

package.json Outdated
Copy link
Contributor

@sacOO7 sacOO7 Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"jsonwebtoken": "^9.0.3",

Just a minor comment, because jsonwebtoken:9.0.2 installation fails for node 25.3.0

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works for latest version 9.0.3

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link
Contributor

@sacOO7 sacOO7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

The new Chat SDK version fixes the MsgPack/binary protocol issue with
realtime.request() REST calls, so the getClientOptions override that
set useBinaryProtocol=false is no longer needed.
@umair-ably umair-ably merged commit 3f4db96 into main Mar 26, 2026
10 checks passed
@umair-ably umair-ably deleted the upgrade-chat-sdk branch March 26, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants